//
//  z_Log.h
//  日志输出
//
//  1、CLog(format, ...)
//  2、CMLog(s)
//
//  Created by zhoubl on 13-6-3.
//  Copyright (c) 2013年 cdeledu. All rights reserved.
//

#import "z_Precompile.h"

#ifdef DEBUG 
#define CLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else 
#define CLog(format, ...)
#endif

#define CMLog(s) [z_Log file:__FILE__ function: (char *)__FUNCTION__ lineNumber:__LINE__ logString:(s)]
#define CMLog(s) [z_Log file:__FILE__ function: (char *)__FUNCTION__ lineNumber:__LINE__ logString:(s)]
#define LineLog(s) [z_Log Log: (char *)__FUNCTION__ lineNumber:__LINE__ logString:(s)]

@interface z_Log : NSObject
+ (void)Log:(char*)functionName lineNumber:(int)lineNumber logString:(NSString*)string;
+ (void)file:(char*)sourceFile function:(char*)functionName lineNumber:(int)lineNumber logString:(NSString*)string;

@end
